﻿@model List<mytechblog.Article>

@{
	ViewBag.Title = "Article List";
}

<h2>Article List</h2>
@Html.ActionLink("Create New", "Edit", new { }, new { Class = "btn btn-primary editList_link" })
<br />
<h3>Edit</h3>
@if (Model != null && Model.Count > 0)
{
	foreach (var article in Model)
	{
		@Html.ActionLink(article.Title, "Edit", new { ID = article.ID }, new { Class = "btn editList_link" })
		<br />
	}
}

